package com.zkyc.framework.common.Thread;

import lombok.SneakyThrows;
import org.springframework.web.multipart.MultipartHttpServletRequest;

/**
 * @author bing.bai
 * @create 2022/6/16
 */
public class FileUploadThread implements Runnable {

    String bucket;

    String objectKey;

    MultipartHttpServletRequest request;

    public FileUploadThread(String bucket, String objectKey, MultipartHttpServletRequest request) {
        this.bucket = bucket;
        this.objectKey = objectKey;
        this.request = request;
    }

    @SneakyThrows
    @Override
    public void run() {
      //  MinioUtils.uploadInputStream(bucket, objectKey, request);
    }
}
